/**
 * 
 */
package za.co.sindi.oauth.core.annotation.enums;

import net.oauth.transport.http.util.HttpConstants;

/**
 * @author Buhake Sindi
 * @since 24 March 2012
 *
 */
public enum RequestMethod {
	DELETE(HttpConstants.METHOD_DELETE),
	GET(HttpConstants.METHOD_GET),
	HEAD(HttpConstants.METHOD_HEAD),
	POST(HttpConstants.METHOD_POST),
	PUT(HttpConstants.METHOD_PUT),
	TRACE(HttpConstants.METHOD_TRACE),
	;
	private final String method;

	/**
	 * @param method
	 */
	private RequestMethod(final String method) {
		this.method = method;
	}

	/* (non-Javadoc)
	 * @see java.lang.Enum#toString()
	 */
	@Override
	public final String toString() {
		// TODO Auto-generated method stub
		return method;
	}
}
